<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>修改社群-同众网</title>
 <link rel="shortcut icon" href="favicon.ico" />
<link href="../Public/css/header.css" rel="stylesheet" type="text/css" />
<link href="../Public/css/edit_groupinfo.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="__PUBLIC__/js/jquery.1.6.1.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/jquery.ajaxupload.js"></script>
<script type="text/javascript">
   var url='__APP__/Center/Group';
   var puburl='__PUBLIC__';//定义地址加载的 公共ads_url
   var gid='{$Group.gid}';
</script>
<script type="text/javascript" src="../Public/js/upload_grouplogo.js"></script>
<!--加载编辑器-->
<script type="text/javascript">
   var URLALL='__PUBLIC__/ueditor/';
</script>
<script type="text/javascript" src="__PUBLIC__/ueditor/editor_config.js"></script>  
 <script type="text/javascript">
   var UEDITOR_HOME_URL = "";
</script>
<script type="text/javascript" src="__PUBLIC__/ueditor/editor_all.js"></script>  
<link rel="stylesheet" href="__PUBLIC__/ueditor/themes/default/ueditor.css"/>  
</head>

<body>
    <!--头部--><include file="../Public/header" />
<div id="edit_groupinfo"  class="auto">
         <div id="group_info"  >
         <!--左侧--><include file="../Group/mygroup_info" />
        </div>
        <div id="editinfo_box">
            <!--修改logo-->
            <div id="grouplogo" class="left">
                <div style="width:120px;height:120px;margin:20px;" class="left">
                    <img src="__PUBLIC__/Uploads/GroupLogo/m_{$Group.group_logo}" width="120" height="120" id="group_logoshow"/>
                </div>
                     <div id="uplogo_p" class="left">
                         <form action="__APP__/Center/" method="post" onsubmit="return checkCoords();">
                                <!--- <div><input type="file" name="file"/></div>-->
                                    <input type="hidden" name="gid" value="{$Group.gid}"/>
                                 <div><input type="button" id="upload_grouplogo" value="修改Logo"/></div>      
                          </form>
                    </div>
            </div> 
            
            <div style="clear:both;"></div>
            
            <div id="groupinfo" >

                  <form   name="" action="__APP__/Center/Group/group_save"  method="post" >  
                  <div id="logonleft">
                      <div class="egitem">
                         <label class="eleft">群组名:</label>
                         <label class="eright"><input name="group_name" type="text" value="{$Group.group_name}" size="30" /></label>
                      </div>
                      <div  class="egitem">  
                          <label class="eleft">群组分类:</label>
                          <label class="eright"> 
                          <select name="group_sort"> 
                              <option value="1" <eq name="Group['group_sort']" value="1">selected="selected"</eq> >公益</option>
                              <option value="2"  <eq name="Group['group_sort']" value="2">selected="selected"</eq> >IT</option>
                              <option value="3" <eq name="Group['group_sort']" value="3">selected="selected"</eq> >娱乐</option>
                              <option value="4"  <eq name="Group['group_sort']" value="4">selected="selected"</eq> >医学-研究</option>
                          </select>
                         </label>
                       </div>

                         <div  class="egitem">
                             <label  class="eleft">人数:</label>
                              <label class="eright"><input name="group_num" type="text" value="{$Group.group_num}" size="30" /></label>
                         </div>

                        <div id="create_key"   class="egitem" style="height:auto;">
                           <label>关键字:</label>
                            <p>
                              <input name="keywords[]" type="text" value="" size="10" />　
                              <input name="keywords[]" type="text" value="" size="10" />　
                              <input name="keywords[]" type="text" value="" size="10" />　
                              <input name="keywords[]" type="text" value="" size="10" />　
                              <input name="keywords[]" type="text" value="" size="10" />　
                           </p>
                        </div> 
  
                       <div class="egitem" style="height:120px;">
                           <label class="eleft">群组简介:</label>
                           <label class="eright">
                               <textarea name="group_intro"  cols="80" rows="8" type="text" value="" >{$Group.group_intro}</textarea>
                           </label>
                       </div>
  
                       <div class="egitem" style="height:auto;">
                           <div >组织概况:</div>
                           <div>
                                <script type="text/plain" id="myEditor" class="myEditor">
                                   {$Group.content|htmlspecialchars_decode}
                                </script>
                                    <!--注册百度ueditor-->  
                                    <script type="text/javascript">
                                        var editor_a = new baidu.editor.ui.Editor({  
                                              autoFloatEnabled: false,//工具栏自动浮动-》关闭  
                                            autoClearinitialContent:false,
                                            textarea:'content',//form表单将通过该参数获得表单提交的数据  
                                            focus:false
                                        });
                                        editor_a.render('myEditor');
                                    </script> 
                                <!--百度Ueditor注册完毕-->  
                              </div>
                       </div>
                      
                  </div>
                   <div id="logonright"   >
                       <input name="gid"  type="hidden" value="{$Group.gid}" />
                       <input  type="submit" value="确定修改" />
                       <input type="button" onclick="history.back(-1)" value="取消修改" />
                   </div>
                    </form> 
               </div>


                
        </div>
    <div class="clear"></div>
 </div>

    <!--底部-->
    
 <include file="../Public/bottom" />
</body>
</html>
